/**
 * 
 */
package com.xxxx.game;

/**
 * @author HuXiaolong
 *
 */
public class MakedeadAnimation extends DelayAnimation
{

	/**
	 * @param delay_times
	 */
	public MakedeadAnimation(int delay_times)
	{
		super(delay_times);
	}

	@Override
	public boolean update(ISprite sprite)
	{
		boolean isok = super.update(sprite);
		if (!isok && sprite != null)
		{
			sprite.makedead();
		}
		return isok;
	}
}
